package run.microservice.stock.model.dto;


import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 字典表VO
 * @author makejava
 * @since 2022-10-25 13:37:14
 */
@Data
public class DictionaryDTO implements Serializable {
    private static final long serialVersionUID = -5026639589154791246L;

    /** 主键ID  */
    private Long id;
    /** 字典编码  */
    @NotBlank(message="P0002")
    private String dictCode;
    /** 字典描述  */
    @NotBlank(message="P0003")
    private String dictName;
    /** 父字典编码  */
    private String parentDictCode;
    /** 排序  */
    private Integer sort;
    /** 语言编码  */
    private String langCode;
    /** 备注  */
    private String remarks;
    /** 创建时间   */
    private LocalDateTime createdTime;

}

